<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<s:debug></s:debug>
<s:property value="#session.user"/>
<s:if test="%{null == #session.user}">
	<%response.sendRedirect("login.jsp"); %>
</s:if> 

<s:iterator value="userList" id="userList">
<s:property value="name"/>
<s:property value="password"/>
</s:iterator>


<%-- <%
	Cookie c[] = request.getCookies();
	if(c == null) {
%>
	<s:action name="login" executeResult="true"/>
<%}else { %>
	<s:iterator value="userList" id="userList">
	<s:property value="name"/>
	<s:property value="password"/>
	</s:iterator>
<%} %> --%>
</html>